package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_opera_mask_end_scene", autoSave = true)
public class LogOperaMaskEndScene {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "剧目ID")
    private int sceneId;
    @FieldTypeAnnotation(desc = "技能")
    private String skill;
    @FieldTypeAnnotation(desc = "雅韵值")
    private long score;
    @FieldTypeAnnotation(desc = "唱功等级")
    private int singLevel;
    @FieldTypeAnnotation(desc = "游戏时长，单位秒")
    private long costSecond;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;
    @FieldTypeAnnotation(desc = "技巧分")
    private int skillValue;
    @FieldTypeAnnotation(desc = "油彩盒等级")
    private int boxLevel;

    @FieldTypeAnnotation(desc = "奖励")
    private String reward = "";


    public LogOperaMaskEndScene(long userId, int activityId, int sceneId, String skill, long score, int singLevel, long costSecond, int skillValue, int boxLevel, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.sceneId = sceneId;
        this.skill = skill;
        this.score = score;
        this.singLevel = singLevel;
        this.costSecond = costSecond;
        this.time = new Date();
        this.skillValue = skillValue;
        this.boxLevel = boxLevel;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getSceneId() {
        return sceneId;
    }

    public void setSceneId(int sceneId) {
        this.sceneId = sceneId;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public int getSingLevel() {
        return singLevel;
    }

    public void setSingLevel(int singLevel) {
        this.singLevel = singLevel;
    }

    public long getCostSecond() {
        return costSecond;
    }

    public void setCostSecond(long costSecond) {
        this.costSecond = costSecond;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getSkillValue() {
        return skillValue;
    }

    public void setSkillValue(int skillValue) {
        this.skillValue = skillValue;
    }

    public int getBoxLevel() {
        return boxLevel;
    }

    public void setBoxLevel(int boxLevel) {
        this.boxLevel = boxLevel;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
